<?php

class Index_Model extends Model {

	function __construct() {
		
   echo '<br>index model<br>';
	
   
 }
 
 function catList(){
   
   $xml = simplexml_load_file('xml/index.xml');

   return $xml;
  
  //print_r("<br>".$xml."<br>");
  /*$json_string = json_encode($xml);
  $result_array = json_decode($json_string, TRUE);
  print_r($result_array);
  */
 }
}